package com.kelaite.procurement.service;

import java.util.List;

import com.kelaite.procurement.dto.CompanyDTO;
import com.kelaite.procurement.entity.TCompany;
import com.kelaite.procurement.entity.TIndustry;

public interface CompanyService {
	public TCompany save(TCompany persistence);

	public void deleteByPrimaryKey(Long id);
	
	public void deleteByObject(TCompany persistence);

	public TCompany getObject(Long id);
	
	public List<TCompany> getAll();

	public List<TCompany> getByProperty(String property, Object value);
	
	public List<TCompany> findByBusinessType(short id);
	
	public TCompany findByCompanyName(String companyName);
	
	public List<TCompany> findCompanyByIndustry(List<TIndustry> industryList);
	
	public List<CompanyDTO> findSubCompanyList(CompanyDTO companyDto);
}
